package com.wardrobe.smartWardrobe.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author tky
 * @since 2024-03-24
 */
public class Media implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("mno")
    private String mno;

    private String mname;

    private String mbucket;

    private String murl;

    /**
     * video表示视频,pic表示图片,doc表示文档
     */
    private String mtype;

    private String msize;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


    public String getMno() {
        return mno;
    }

    public void setMno(String mno) {
        this.mno = mno;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMbucket() {
        return mbucket;
    }

    public void setMbucket(String mbucket) {
        this.mbucket = mbucket;
    }

    public String getMurl() {
        return murl;
    }

    public void setMurl(String murl) {
        this.murl = murl;
    }

    public String getMtype() {
        return mtype;
    }

    public void setMtype(String mtype) {
        this.mtype = mtype;
    }

    public String getMsize() {
        return msize;
    }

    public void setMsize(String msize) {
        this.msize = msize;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Media{" +
        "mno=" + mno +
        ", mname=" + mname +
        ", mbucket=" + mbucket +
        ", murl=" + murl +
        ", mtype=" + mtype +
        ", msize=" + msize +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
